<%@ page import="com.cgt.web.pojo.Classroom" %><%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2025/2/7
  Time: 21:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
      Classroom classroom = (Classroom) request.getAttribute("classroom");
    %>
    <form action="/classroom?method=updateInf" method="post">
      <input type="hidden" name="id" value="<%=classroom.getId()%>">
      班级名：<input type="text" name="name" value="<%=classroom.getName()%>"><br>
      地址：<input type="text" name="address" value="<%=classroom.getAddress()%>"><br>
      座位数量：<input type="text" name="seatsum" value="<%=classroom.getSeatsum()%>"><br>
      <input type="submit" value="保存">
    </form>
</body>
</html>
